package com.simblog.oaknt.mapper;

import java.util.List;
import java.util.Map;

public interface BaseMapper<T> {
	   public int deleteByPrimaryKey(Long id);

	    public int insert(T record);

	    public int insertSelective(T record);

	    public T selectByPrimaryKey(Long id);

	    public int updateByPrimaryKeySelective(T record);

	    public int updateByPrimaryKey(T record);
	    
	    public List<T> query(Map<String,Object> params);
	    
}
